package com.ccc.demoboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @Author wz
 * @Date 2024/6/12 8:44
 * @PackageName:com.ccc.demoboot.pojo
 * @ClassName: Sysuserder
*/

/**
 * 角色所属用户部门岗位工种
 */
@TableName(value = "sysuserder")
public class Sysuserder {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 角色id
     */
    @TableField(value = "roleid")
    private Integer roleid;

    /**
     * 用户id/部门id/工种id(用户id){部门id}[工种id]
     */
    @TableField(value = "ids")
    private String ids;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取角色id
     *
     * @return roleid - 角色id
     */
    public Integer getRoleid() {
        return roleid;
    }

    /**
     * 设置角色id
     *
     * @param roleid 角色id
     */
    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    /**
     * 获取用户id/部门id/工种id(用户id){部门id}[工种id]
     *
     * @return ids - 用户id/部门id/工种id(用户id){部门id}[工种id]
     */
    public String getIds() {
        return ids;
    }

    /**
     * 设置用户id/部门id/工种id(用户id){部门id}[工种id]
     *
     * @param ids 用户id/部门id/工种id(用户id){部门id}[工种id]
     */
    public void setIds(String ids) {
        this.ids = ids;
    }
}